/*
	Copyright (c) 2011 Andrey O. Zbitnev (azbitnev@gmail.com)
	Licensed under the MIT License (LICENSE).

	$Id: ys.datepicker.css 9 2012-04-11 07:57:53Z azbitnev@gmail.com $

	retured modules: close, prev, next
*/

/*
	ys-datepicker: common logic
*/

.ys-datepicker-input {
	display: inline-block;
}

.ys-datepicker-input > .ys-datepicker-container {
	position: absolute;
	display: block;
	overflow: hidden;
	visibility: hidden;
}

.ys-datepicker-input > .field {
	cursor: pointer;
}

.ys-datepicker > .ys-datepicker-month {
	clear: both;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > td {
	cursor: pointer;
}

.ys-datepicker > .ys-datepicker-footer > .ys-close {
	float: right;
	clear: right;
}

/*
	ys-datepicker: common style
*/

.ys-datepicker-input > .ys-datepicker-container {
	-webkit-box-shadow: 0px 8px 14px #aaaaaa;
	-moz-box-shadow: 0px 8px 14px #aaaaaa;
	box-shadow: 0px 8px 14px #aaaaaa;
}

.ys-datepicker {
	border-style: solid;
	border-color: #eee;
}

.ys-datepicker > .ys-datepicker-header .ys-datepicker-month-name {
	font-weight: bold;
}

.ys-datepicker > .ys-datepicker-month {
	background: #fff;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > th, .ys-datepicker > .ys-datepicker-month > tbody > tr > td {
	text-align: center;
	vertical-align: middle;
	border-style: solid;
	border-color: #eee;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > td {
	background: #fff;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > td:hover, .ys-datepicker > .ys-datepicker-month > tbody > tr > td.selected {
	background: #eee;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > td.now {
	background: #d7e3f4;
}

.ys-datepicker > .ys-datepicker-header, .ys-datepicker > .ys-datepicker-footer {
	background: #fff url() 0 0 repeat-x;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > th {
	background: #fff;
}

.ys-datepicker > .ys-datepicker-footer {
	background-color: #ccc;
	height: 30px;
}

/*
	ys-datepicker: common sizes
*/

.ys-datepicker {
	border-width: 1px;
}

.ys-datepicker > .ys-datepicker-header {
	width: 100%;
}

.ys-datepicker > .ys-datepicker-header td {
	border: 0;
	padding: 2px 6px;
}

.ys-datepicker > .ys-datepicker-header .ys-datepicker-month-name {
	height: 24px;
	line-height: 24px;
}

.ys-datepicker > .ys-datepicker-header .ys-prev,
.ys-datepicker > .ys-datepicker-header .ys-next {
	width: 18px;
	height: 24px;
}

.ys-datepicker > .ys-datepicker-month > tbody > tr > th, .ys-datepicker > .ys-datepicker-month > tbody > tr > td {
	width: 40px;
	height: 24px;
	border-width: 1px;
	padding: 0;
}

.ys-datepicker > .ys-datepicker-footer > .ys-close {
	width: 20px;
	height: 20px;
	margin: 4px;
}

.ys-datepicker-input > .field {
	margin-bottom: 0;
}

/*
	ys-datepicker: msie fixes
*/

.ys-datepicker-msie {
	margin-top: -1px;
	margin-left: -1px;
	filter: progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=0, Direction=0),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=4, Direction=90),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=6, Direction=180),
		progid:DXImageTransform.Microsoft.Shadow(Color=#bbbbbb, Strength=1, Direction=270)
	;
}
